Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Don't replace tabs with spaces #3438

Merged
merged 4 commits into from
Sep 4, 2024
Merged

Conversation

UziTech
Copy link
Member

@UziTech UziTech commented Sep 1, 2024

Marked version: 14.1.0

Description

Don't replace tabs with spaces for CommonMark and GFM.

This will allow code blocks to be preserved when the lines start with tabs.

Contributor

  • Test(s) exist to ensure functionality and minimize regression (if no tests added, list tests covering this PR); or,
  • no tests required for this PR.
  • If submitting new feature, it has been documented in the appropriate places.

Committer

In most cases, this should be a different person than the contributor.

Copy link

vercel bot commented Sep 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marked-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 1, 2024 4:45am

@UziTech UziTech merged commit 9ed6456 into markedjs:master Sep 4, 2024
8 checks passed
github-actions bot pushed a commit that referenced this pull request Sep 4, 2024
## [14.1.1](v14.1.0...v14.1.1) (2024-09-04)

### Bug Fixes

* Don't replace tabs with spaces ([#3438](#3438)) ([9ed6456](9ed6456))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tabs are not preserved in raw output Code blocks must be left intact
2 participants